package com.txts.road.app.system.model.vo;

import java.io.Serial;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import java.time.LocalDateTime;

/**
 * 版本更新视图对象
 *
 * @author baoyanrong
 * @since 2025-07-17 13:34
 */
@Getter
@Setter
@Schema( description = "版本更新视图对象")
public class AppVersionVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @Schema(description = "版本ID")
    private Long id;
    @Schema(description = "版本名称")
    private String versionName;
    @Schema(description = "版本号")
    private Integer versionCode;
    @Schema(description = "平台：1-Android，2-iOS")
    private Integer platform;
    @Schema(description = "下载地址")
    private String downloadUrl;
    @Schema(description = "更新内容")
    private String updateContent;
    @Schema(description = "是否强制更新：0-否，1-是")
    private Integer isForceUpdate;
    @Schema(description = "文件大小(字节)")
    private Long fileSize;
    @Schema(description = "发布时间")
    private LocalDateTime releaseTime;
    @Schema(description = "创建时间")
    private LocalDateTime createTime;
}
